import { axios } from '@/utils/request'

/**
 * 分页查询8路采集器配置
 *
 * @author ssy
 * @date 2022/02/18 12:02
 */
export function page (parameter) {
    return axios({
        url: '/bizCollectorConfig/page',
        method: 'get',
        params: parameter
    })
}

/**
 * 增加8路采集器配置
 *
 * @author ssy
 * @date 2022/02/18 12:02
 */
export function add (parameter) {
    return axios({
        url: '/bizCollectorConfig/add',
        method: 'post',
        data: parameter
    })
}

export function addConfig (parameter) {
  return axios({
    url: '/bizCollectorConfig/addConfig',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑8路采集器配置
 *
 * @author ssy
 * @date 2022/02/18 12:02
 */
export function edit (parameter) {
    return axios({
        url: '/bizCollectorConfig/edit',
        method: 'post',
        data: parameter
    })
}

/**
 * 查看详情8路采集器配置
 *
 * @author ssy
 * @date 2022/02/18 12:02
 */
export function detail (parameter) {
    return axios({
        url: '/bizCollectorConfig/detail',
        method: 'get',
        params: parameter
    })
}

/**
 * 删除8路采集器配置
 *
 * @author ssy
 * @date 2022/02/18 12:02
 */
export function del (parameter) {
    return axios({
        url: '/bizCollectorConfig/delete',
        method: 'post',
        data: parameter
    })
}
